Skip to content

Conversation

@kozlov721
Copy link
Collaborator

@kozlov721 kozlov721 commented Jul 27, 2025

Purpose

More secure way of storing secrets loaded from the environment.

Specification

  • Changed types of some fields in luxonis_ml.utils.environ to SecretStr

Dependencies & Potential Impact

None / not applicable

Deployment Plan

None / not applicable

Testing & Validation

Added new tests to test_environ.py file

@kozlov721 kozlov721 requested a review from a team as a code owner July 27, 2025 21:56
@kozlov721 kozlov721 requested review from conorsim, klemen1999 and tersekmatija and removed request for a team July 27, 2025 21:56
@github-actions github-actions bot added enhancement New feature or request utils Changes affecting luxonis_ml.utils subpackage labels Jul 27, 2025
@codecov
Copy link

codecov bot commented Jul 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.26%. Comparing base (64d29f7) to head (acfdc4f).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #356   +/-   ##
=======================================
  Coverage   95.26%   95.26%           
=======================================
  Files         103      104    +1     
  Lines        6333     6341    +8     
=======================================
+ Hits         6033     6041    +8     
  Misses        300      300           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kozlov721 kozlov721 merged commit 9dc6c97 into main Jul 31, 2025
16 checks passed
@kozlov721 kozlov721 deleted the feature/environ-secrets branch July 31, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request utils Changes affecting luxonis_ml.utils subpackage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants